from rest_framework.routers import SimpleRouter

from user import views

router = SimpleRouter(trailing_slash=False)

router.register('user', views.UserView, basename='user')

router.register('clazz', views.ClazzView, basename='clazz')

router.register('class', views.ClassViewSet, basename='class')

router.register('group', views.GroupViewSet, basename='group')